package com._430haus.Video;

import java.io.File;
import java.io.IOException;
import java.nio.file.Path;

import org.apache.commons.io.FilenameUtils;

public class Video {

	private String location;
	private String name;

	public Video(File f) throws IOException {

		this.name = FilenameUtils.removeExtension(f.getName()).replaceAll("\\.", " ");		
		this.location = f.getCanonicalPath();

	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	

	
	

}
